home *** CD-ROM | disk | FTP | other *** search
- This is the README file for the GNU native/cross compiler. Diffs are
- with respect to GCC V2.0
-
- -configuration:
- copy all the files from the gcc v2.0 distribution
- into a directory called SRC (i created symbolic links between
- the files).
- copy all the files from the gcc v2.0 distribution
- sub-directory config into SRC/config
- copy all the files in this directory into SRC.
- (note: there are 2 .h files astab.h and math-68881.h to be
- copied into SRC too).
- copy xm-atari.h and tm-atari.h into SRC/config
- cd to SRC
- Apply the diffs using larry walls patch program
- patch < gcc-20.diff
- make the following links in SRC
- config.h to config/xm-atari.h
- tconfig.h to config/xm-atari.h
- tm.h to config/tm-atari.h
- aux-output.c to config/m68k.c
- md to config/m68k.md
-
- edit Makefile.* to make sure the following
- are defined appro.:
- CROSSDIR -- the home directory of the cross dev. system
-
- edit xm-atari.h & tm-atari.h and replace all
- instances of the string ".../home/bammi/cross-../..."
- with CROSSDIR/... (ie. the same string as CROSSDIR above
- plus whatever was there after .../home/bammi/cross-.../ ).
-
- edit config/tm-atari.h and at the top of the file set
- TARGET_DEFAULT appropriately. this file is now
- conditionalized for various combinations of
- 68000/68020/68881
-
- you DO NOT have to edit gcc.c anymore to look for paths to edit.
-
- -if you already have a native minix-gcc and want to use
- that to make new minix executables, skip the next few
- steps that make the cross-compiler system.
- Please note that you will not be able to compile the
- compiler itself on a St with less that 2.5 M of memory.
-
- -make cross compiler by
- make -f Makefile.minix
- will make and install cpp, cc1 and gcc
-
- -clean out the directory by
- make -f Makefile.minix clean
- - go and make a cross-gas cross-ld and cross-as
- - make the minix gcc libraries using the cross-compiler
- system you made above.
-
- - to make minix atari st executables
- - make and install cross compiler as above (or use your native
- minix-gcc compiler)
- - make by
- make -f Makefile.cminix
-
- Please note: *.c files in this directory are the already patched files
- for the gcc-src directory.
-
- which makefile to use:
-
-
- On a (BSD unix host) On a HPUX host
- (Only sun sparc tested)
-
- GMakefile GMakefile.hp to make the CROSS-g++ parts
- GMakefile.st GMakefile.st.hp to make NATIVE-g++ parts
- Makefile Makefile.hp to make CROSS-gcc parts
- Makefile.st Makefile.st.hp to make NATIVE-gcc parts
-
-
- NATIVE parts are 68k code that run on the atari.
- CROSS parts run on the HOST and not on the atari.
-
- --
- bang: uunet!cadence!bammi jwahar r. bammi
- domain: bammi@cadence.com
- GEnie: J.Bammi
- CIS: 71515,155
-